package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class A20210404202 {

    @RequestMapping("/A20210404202")
    @ResponseBody

    public String hello(@RequestParam(name = "name",defaultValue = "Unknown user") String name) {
        return "hello" + name;
    }
}
